//
//  SelectionNumManager.h
//  CaiPiao
//
//  Created by apple on 2018/5/19.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SelectionNumManager : NSObject

@property(nonatomic,retain)NSString* currentLotteryID;
@property(nonatomic,retain)NSString* currentLotteryName;

+(SelectionNumManager*)shared;

-(void)getDataWithLotteryID:(NSString*)lotteryID andActionID:(NSString*)actionID andCallBack:(void(^)(BOOL load,NSDictionary* resObj))callBack;

/***
 获取红球总个数
 ***/
-(NSArray*)redNumberArrayWith:(NSString*)lotteryID;
/***
 获取蓝球总个数
 ***/
-(NSArray*)blueNumberArrayWith:(NSString*)lotteryID;
/***
 获取随机一组红球
 ***/
-(NSArray*)randomRedNumberActionWithLottoryID:(NSString*)lotteryID;
/***
 获取随机一组蓝球
 ***/
-(NSArray*)randomBlueNumberActionWithLottoryID:(NSString*)lotteryID;

/***
 计算一共多少注
 ***/
-(NSInteger)calculationsTheCombinationWith:(NSInteger)arrayCount andExtractionCount:(NSInteger)ExtractionCount;

@end
